package gv.trans;

import gv.trans.util.Global;
import gv.trans.util.Utils;

import org.anddev.andengine.engine.Engine;
import org.anddev.andengine.engine.camera.Camera;
import org.anddev.andengine.engine.options.EngineOptions;
import org.anddev.andengine.engine.options.EngineOptions.ScreenOrientation;
import org.anddev.andengine.engine.options.resolutionpolicy.RatioResolutionPolicy;
import org.anddev.andengine.entity.scene.Scene;
import org.anddev.andengine.ui.activity.BaseGameActivity;


public class NamesTranslator extends BaseGameActivity {
    /** Called when the activity is first created. */
	private Camera camera;

	@Override
	public Engine onLoadEngine() {
		this.camera = new Camera(0, 0, Global.CAMERA_WIDTH, Global.CAMERA_HEIGHT);
		return new Engine(new EngineOptions(true, ScreenOrientation.LANDSCAPE,
				new RatioResolutionPolicy(Global.CAMERA_WIDTH, Global.CAMERA_HEIGHT), this.camera));
	}

	@Override
	public void onLoadResources() {
		Utils.setActivity(this);
		
	}

	@Override
	public Scene onLoadScene() {
		MyScene scene = new MyScene(1);
		return scene;
	}

	@Override
	public void onLoadComplete() {
		// TODO Auto-generated method stub
		
	}
}